WeDevs\Dokan\Commission\Formula\Fixed S

Total Complexity 18
Dependencies 3
Dependents 6
Total lines 220
Lines of code 63
Logical lines of code 33
Comment lines 120
Methods 11
Properties 6

Methods 11

Method Rating Maintainability Complexity Lines of code
calculate()
S
53 5 25
is_applicable()
S
79 2 3
is_valid_commission_type()
S
71 2 5
is_valid_commission_data()
S
78 2 3
__construct()
S
73 1 5
get_parameters()
S
69 1 7
get_source()
S
81 1 3
get_admin_commission()
S
80 1 3
get_vendor_earning()
S
80 1 3
get_per_item_admin_commission()
S
80 1 3
get_items_total_quantity()
S
82 1 3